package com.jari.lg.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class DetectorHisResultRtExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public DetectorHisResultRtExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUuidIsNull() {
            addCriterion("uuid is null");
            return (Criteria) this;
        }

        public Criteria andUuidIsNotNull() {
            addCriterion("uuid is not null");
            return (Criteria) this;
        }

        public Criteria andUuidEqualTo(String value) {
            addCriterion("uuid =", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotEqualTo(String value) {
            addCriterion("uuid <>", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThan(String value) {
            addCriterion("uuid >", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThanOrEqualTo(String value) {
            addCriterion("uuid >=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThan(String value) {
            addCriterion("uuid <", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThanOrEqualTo(String value) {
            addCriterion("uuid <=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLike(String value) {
            addCriterion("uuid like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotLike(String value) {
            addCriterion("uuid not like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidIn(List<String> values) {
            addCriterion("uuid in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotIn(List<String> values) {
            addCriterion("uuid not in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidBetween(String value1, String value2) {
            addCriterion("uuid between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotBetween(String value1, String value2) {
            addCriterion("uuid not between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andDevicecodeIsNull() {
            addCriterion("deviceCode is null");
            return (Criteria) this;
        }

        public Criteria andDevicecodeIsNotNull() {
            addCriterion("deviceCode is not null");
            return (Criteria) this;
        }

        public Criteria andDevicecodeEqualTo(String value) {
            addCriterion("deviceCode =", value, "devicecode");
            return (Criteria) this;
        }

        public Criteria andDevicecodeNotEqualTo(String value) {
            addCriterion("deviceCode <>", value, "devicecode");
            return (Criteria) this;
        }

        public Criteria andDevicecodeGreaterThan(String value) {
            addCriterion("deviceCode >", value, "devicecode");
            return (Criteria) this;
        }

        public Criteria andDevicecodeGreaterThanOrEqualTo(String value) {
            addCriterion("deviceCode >=", value, "devicecode");
            return (Criteria) this;
        }

        public Criteria andDevicecodeLessThan(String value) {
            addCriterion("deviceCode <", value, "devicecode");
            return (Criteria) this;
        }

        public Criteria andDevicecodeLessThanOrEqualTo(String value) {
            addCriterion("deviceCode <=", value, "devicecode");
            return (Criteria) this;
        }

        public Criteria andDevicecodeLike(String value) {
            addCriterion("deviceCode like", value, "devicecode");
            return (Criteria) this;
        }

        public Criteria andDevicecodeNotLike(String value) {
            addCriterion("deviceCode not like", value, "devicecode");
            return (Criteria) this;
        }

        public Criteria andDevicecodeIn(List<String> values) {
            addCriterion("deviceCode in", values, "devicecode");
            return (Criteria) this;
        }

        public Criteria andDevicecodeNotIn(List<String> values) {
            addCriterion("deviceCode not in", values, "devicecode");
            return (Criteria) this;
        }

        public Criteria andDevicecodeBetween(String value1, String value2) {
            addCriterion("deviceCode between", value1, value2, "devicecode");
            return (Criteria) this;
        }

        public Criteria andDevicecodeNotBetween(String value1, String value2) {
            addCriterion("deviceCode not between", value1, value2, "devicecode");
            return (Criteria) this;
        }

        public Criteria andCrossidIsNull() {
            addCriterion("crossID is null");
            return (Criteria) this;
        }

        public Criteria andCrossidIsNotNull() {
            addCriterion("crossID is not null");
            return (Criteria) this;
        }

        public Criteria andCrossidEqualTo(String value) {
            addCriterion("crossID =", value, "crossid");
            return (Criteria) this;
        }

        public Criteria andCrossidNotEqualTo(String value) {
            addCriterion("crossID <>", value, "crossid");
            return (Criteria) this;
        }

        public Criteria andCrossidGreaterThan(String value) {
            addCriterion("crossID >", value, "crossid");
            return (Criteria) this;
        }

        public Criteria andCrossidGreaterThanOrEqualTo(String value) {
            addCriterion("crossID >=", value, "crossid");
            return (Criteria) this;
        }

        public Criteria andCrossidLessThan(String value) {
            addCriterion("crossID <", value, "crossid");
            return (Criteria) this;
        }

        public Criteria andCrossidLessThanOrEqualTo(String value) {
            addCriterion("crossID <=", value, "crossid");
            return (Criteria) this;
        }

        public Criteria andCrossidLike(String value) {
            addCriterion("crossID like", value, "crossid");
            return (Criteria) this;
        }

        public Criteria andCrossidNotLike(String value) {
            addCriterion("crossID not like", value, "crossid");
            return (Criteria) this;
        }

        public Criteria andCrossidIn(List<String> values) {
            addCriterion("crossID in", values, "crossid");
            return (Criteria) this;
        }

        public Criteria andCrossidNotIn(List<String> values) {
            addCriterion("crossID not in", values, "crossid");
            return (Criteria) this;
        }

        public Criteria andCrossidBetween(String value1, String value2) {
            addCriterion("crossID between", value1, value2, "crossid");
            return (Criteria) this;
        }

        public Criteria andCrossidNotBetween(String value1, String value2) {
            addCriterion("crossID not between", value1, value2, "crossid");
            return (Criteria) this;
        }

        public Criteria andCrossnameIsNull() {
            addCriterion("crossName is null");
            return (Criteria) this;
        }

        public Criteria andCrossnameIsNotNull() {
            addCriterion("crossName is not null");
            return (Criteria) this;
        }

        public Criteria andCrossnameEqualTo(String value) {
            addCriterion("crossName =", value, "crossname");
            return (Criteria) this;
        }

        public Criteria andCrossnameNotEqualTo(String value) {
            addCriterion("crossName <>", value, "crossname");
            return (Criteria) this;
        }

        public Criteria andCrossnameGreaterThan(String value) {
            addCriterion("crossName >", value, "crossname");
            return (Criteria) this;
        }

        public Criteria andCrossnameGreaterThanOrEqualTo(String value) {
            addCriterion("crossName >=", value, "crossname");
            return (Criteria) this;
        }

        public Criteria andCrossnameLessThan(String value) {
            addCriterion("crossName <", value, "crossname");
            return (Criteria) this;
        }

        public Criteria andCrossnameLessThanOrEqualTo(String value) {
            addCriterion("crossName <=", value, "crossname");
            return (Criteria) this;
        }

        public Criteria andCrossnameLike(String value) {
            addCriterion("crossName like", value, "crossname");
            return (Criteria) this;
        }

        public Criteria andCrossnameNotLike(String value) {
            addCriterion("crossName not like", value, "crossname");
            return (Criteria) this;
        }

        public Criteria andCrossnameIn(List<String> values) {
            addCriterion("crossName in", values, "crossname");
            return (Criteria) this;
        }

        public Criteria andCrossnameNotIn(List<String> values) {
            addCriterion("crossName not in", values, "crossname");
            return (Criteria) this;
        }

        public Criteria andCrossnameBetween(String value1, String value2) {
            addCriterion("crossName between", value1, value2, "crossname");
            return (Criteria) this;
        }

        public Criteria andCrossnameNotBetween(String value1, String value2) {
            addCriterion("crossName not between", value1, value2, "crossname");
            return (Criteria) this;
        }

        public Criteria andRoadidIsNull() {
            addCriterion("roadID is null");
            return (Criteria) this;
        }

        public Criteria andRoadidIsNotNull() {
            addCriterion("roadID is not null");
            return (Criteria) this;
        }

        public Criteria andRoadidEqualTo(String value) {
            addCriterion("roadID =", value, "roadid");
            return (Criteria) this;
        }

        public Criteria andRoadidNotEqualTo(String value) {
            addCriterion("roadID <>", value, "roadid");
            return (Criteria) this;
        }

        public Criteria andRoadidGreaterThan(String value) {
            addCriterion("roadID >", value, "roadid");
            return (Criteria) this;
        }

        public Criteria andRoadidGreaterThanOrEqualTo(String value) {
            addCriterion("roadID >=", value, "roadid");
            return (Criteria) this;
        }

        public Criteria andRoadidLessThan(String value) {
            addCriterion("roadID <", value, "roadid");
            return (Criteria) this;
        }

        public Criteria andRoadidLessThanOrEqualTo(String value) {
            addCriterion("roadID <=", value, "roadid");
            return (Criteria) this;
        }

        public Criteria andRoadidLike(String value) {
            addCriterion("roadID like", value, "roadid");
            return (Criteria) this;
        }

        public Criteria andRoadidNotLike(String value) {
            addCriterion("roadID not like", value, "roadid");
            return (Criteria) this;
        }

        public Criteria andRoadidIn(List<String> values) {
            addCriterion("roadID in", values, "roadid");
            return (Criteria) this;
        }

        public Criteria andRoadidNotIn(List<String> values) {
            addCriterion("roadID not in", values, "roadid");
            return (Criteria) this;
        }

        public Criteria andRoadidBetween(String value1, String value2) {
            addCriterion("roadID between", value1, value2, "roadid");
            return (Criteria) this;
        }

        public Criteria andRoadidNotBetween(String value1, String value2) {
            addCriterion("roadID not between", value1, value2, "roadid");
            return (Criteria) this;
        }

        public Criteria andRoadnameIsNull() {
            addCriterion("roadName is null");
            return (Criteria) this;
        }

        public Criteria andRoadnameIsNotNull() {
            addCriterion("roadName is not null");
            return (Criteria) this;
        }

        public Criteria andRoadnameEqualTo(String value) {
            addCriterion("roadName =", value, "roadname");
            return (Criteria) this;
        }

        public Criteria andRoadnameNotEqualTo(String value) {
            addCriterion("roadName <>", value, "roadname");
            return (Criteria) this;
        }

        public Criteria andRoadnameGreaterThan(String value) {
            addCriterion("roadName >", value, "roadname");
            return (Criteria) this;
        }

        public Criteria andRoadnameGreaterThanOrEqualTo(String value) {
            addCriterion("roadName >=", value, "roadname");
            return (Criteria) this;
        }

        public Criteria andRoadnameLessThan(String value) {
            addCriterion("roadName <", value, "roadname");
            return (Criteria) this;
        }

        public Criteria andRoadnameLessThanOrEqualTo(String value) {
            addCriterion("roadName <=", value, "roadname");
            return (Criteria) this;
        }

        public Criteria andRoadnameLike(String value) {
            addCriterion("roadName like", value, "roadname");
            return (Criteria) this;
        }

        public Criteria andRoadnameNotLike(String value) {
            addCriterion("roadName not like", value, "roadname");
            return (Criteria) this;
        }

        public Criteria andRoadnameIn(List<String> values) {
            addCriterion("roadName in", values, "roadname");
            return (Criteria) this;
        }

        public Criteria andRoadnameNotIn(List<String> values) {
            addCriterion("roadName not in", values, "roadname");
            return (Criteria) this;
        }

        public Criteria andRoadnameBetween(String value1, String value2) {
            addCriterion("roadName between", value1, value2, "roadname");
            return (Criteria) this;
        }

        public Criteria andRoadnameNotBetween(String value1, String value2) {
            addCriterion("roadName not between", value1, value2, "roadname");
            return (Criteria) this;
        }

        public Criteria andDirectionIsNull() {
            addCriterion("direction is null");
            return (Criteria) this;
        }

        public Criteria andDirectionIsNotNull() {
            addCriterion("direction is not null");
            return (Criteria) this;
        }

        public Criteria andDirectionEqualTo(Integer value) {
            addCriterion("direction =", value, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionNotEqualTo(Integer value) {
            addCriterion("direction <>", value, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionGreaterThan(Integer value) {
            addCriterion("direction >", value, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionGreaterThanOrEqualTo(Integer value) {
            addCriterion("direction >=", value, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionLessThan(Integer value) {
            addCriterion("direction <", value, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionLessThanOrEqualTo(Integer value) {
            addCriterion("direction <=", value, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionIn(List<Integer> values) {
            addCriterion("direction in", values, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionNotIn(List<Integer> values) {
            addCriterion("direction not in", values, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionBetween(Integer value1, Integer value2) {
            addCriterion("direction between", value1, value2, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionNotBetween(Integer value1, Integer value2) {
            addCriterion("direction not between", value1, value2, "direction");
            return (Criteria) this;
        }

        public Criteria andLanecodeIsNull() {
            addCriterion("laneCode is null");
            return (Criteria) this;
        }

        public Criteria andLanecodeIsNotNull() {
            addCriterion("laneCode is not null");
            return (Criteria) this;
        }

        public Criteria andLanecodeEqualTo(Integer value) {
            addCriterion("laneCode =", value, "lanecode");
            return (Criteria) this;
        }

        public Criteria andLanecodeNotEqualTo(Integer value) {
            addCriterion("laneCode <>", value, "lanecode");
            return (Criteria) this;
        }

        public Criteria andLanecodeGreaterThan(Integer value) {
            addCriterion("laneCode >", value, "lanecode");
            return (Criteria) this;
        }

        public Criteria andLanecodeGreaterThanOrEqualTo(Integer value) {
            addCriterion("laneCode >=", value, "lanecode");
            return (Criteria) this;
        }

        public Criteria andLanecodeLessThan(Integer value) {
            addCriterion("laneCode <", value, "lanecode");
            return (Criteria) this;
        }

        public Criteria andLanecodeLessThanOrEqualTo(Integer value) {
            addCriterion("laneCode <=", value, "lanecode");
            return (Criteria) this;
        }

        public Criteria andLanecodeIn(List<Integer> values) {
            addCriterion("laneCode in", values, "lanecode");
            return (Criteria) this;
        }

        public Criteria andLanecodeNotIn(List<Integer> values) {
            addCriterion("laneCode not in", values, "lanecode");
            return (Criteria) this;
        }

        public Criteria andLanecodeBetween(Integer value1, Integer value2) {
            addCriterion("laneCode between", value1, value2, "lanecode");
            return (Criteria) this;
        }

        public Criteria andLanecodeNotBetween(Integer value1, Integer value2) {
            addCriterion("laneCode not between", value1, value2, "lanecode");
            return (Criteria) this;
        }

        public Criteria andVolumeIsNull() {
            addCriterion("volume is null");
            return (Criteria) this;
        }

        public Criteria andVolumeIsNotNull() {
            addCriterion("volume is not null");
            return (Criteria) this;
        }

        public Criteria andVolumeEqualTo(Integer value) {
            addCriterion("volume =", value, "volume");
            return (Criteria) this;
        }

        public Criteria andVolumeNotEqualTo(Integer value) {
            addCriterion("volume <>", value, "volume");
            return (Criteria) this;
        }

        public Criteria andVolumeGreaterThan(Integer value) {
            addCriterion("volume >", value, "volume");
            return (Criteria) this;
        }

        public Criteria andVolumeGreaterThanOrEqualTo(Integer value) {
            addCriterion("volume >=", value, "volume");
            return (Criteria) this;
        }

        public Criteria andVolumeLessThan(Integer value) {
            addCriterion("volume <", value, "volume");
            return (Criteria) this;
        }

        public Criteria andVolumeLessThanOrEqualTo(Integer value) {
            addCriterion("volume <=", value, "volume");
            return (Criteria) this;
        }

        public Criteria andVolumeIn(List<Integer> values) {
            addCriterion("volume in", values, "volume");
            return (Criteria) this;
        }

        public Criteria andVolumeNotIn(List<Integer> values) {
            addCriterion("volume not in", values, "volume");
            return (Criteria) this;
        }

        public Criteria andVolumeBetween(Integer value1, Integer value2) {
            addCriterion("volume between", value1, value2, "volume");
            return (Criteria) this;
        }

        public Criteria andVolumeNotBetween(Integer value1, Integer value2) {
            addCriterion("volume not between", value1, value2, "volume");
            return (Criteria) this;
        }

        public Criteria andAvgqueueIsNull() {
            addCriterion("avgQueue is null");
            return (Criteria) this;
        }

        public Criteria andAvgqueueIsNotNull() {
            addCriterion("avgQueue is not null");
            return (Criteria) this;
        }

        public Criteria andAvgqueueEqualTo(Double value) {
            addCriterion("avgQueue =", value, "avgqueue");
            return (Criteria) this;
        }

        public Criteria andAvgqueueNotEqualTo(Double value) {
            addCriterion("avgQueue <>", value, "avgqueue");
            return (Criteria) this;
        }

        public Criteria andAvgqueueGreaterThan(Double value) {
            addCriterion("avgQueue >", value, "avgqueue");
            return (Criteria) this;
        }

        public Criteria andAvgqueueGreaterThanOrEqualTo(Double value) {
            addCriterion("avgQueue >=", value, "avgqueue");
            return (Criteria) this;
        }

        public Criteria andAvgqueueLessThan(Double value) {
            addCriterion("avgQueue <", value, "avgqueue");
            return (Criteria) this;
        }

        public Criteria andAvgqueueLessThanOrEqualTo(Double value) {
            addCriterion("avgQueue <=", value, "avgqueue");
            return (Criteria) this;
        }

        public Criteria andAvgqueueIn(List<Double> values) {
            addCriterion("avgQueue in", values, "avgqueue");
            return (Criteria) this;
        }

        public Criteria andAvgqueueNotIn(List<Double> values) {
            addCriterion("avgQueue not in", values, "avgqueue");
            return (Criteria) this;
        }

        public Criteria andAvgqueueBetween(Double value1, Double value2) {
            addCriterion("avgQueue between", value1, value2, "avgqueue");
            return (Criteria) this;
        }

        public Criteria andAvgqueueNotBetween(Double value1, Double value2) {
            addCriterion("avgQueue not between", value1, value2, "avgqueue");
            return (Criteria) this;
        }

        public Criteria andMaxqueueIsNull() {
            addCriterion("maxQueue is null");
            return (Criteria) this;
        }

        public Criteria andMaxqueueIsNotNull() {
            addCriterion("maxQueue is not null");
            return (Criteria) this;
        }

        public Criteria andMaxqueueEqualTo(Double value) {
            addCriterion("maxQueue =", value, "maxqueue");
            return (Criteria) this;
        }

        public Criteria andMaxqueueNotEqualTo(Double value) {
            addCriterion("maxQueue <>", value, "maxqueue");
            return (Criteria) this;
        }

        public Criteria andMaxqueueGreaterThan(Double value) {
            addCriterion("maxQueue >", value, "maxqueue");
            return (Criteria) this;
        }

        public Criteria andMaxqueueGreaterThanOrEqualTo(Double value) {
            addCriterion("maxQueue >=", value, "maxqueue");
            return (Criteria) this;
        }

        public Criteria andMaxqueueLessThan(Double value) {
            addCriterion("maxQueue <", value, "maxqueue");
            return (Criteria) this;
        }

        public Criteria andMaxqueueLessThanOrEqualTo(Double value) {
            addCriterion("maxQueue <=", value, "maxqueue");
            return (Criteria) this;
        }

        public Criteria andMaxqueueIn(List<Double> values) {
            addCriterion("maxQueue in", values, "maxqueue");
            return (Criteria) this;
        }

        public Criteria andMaxqueueNotIn(List<Double> values) {
            addCriterion("maxQueue not in", values, "maxqueue");
            return (Criteria) this;
        }

        public Criteria andMaxqueueBetween(Double value1, Double value2) {
            addCriterion("maxQueue between", value1, value2, "maxqueue");
            return (Criteria) this;
        }

        public Criteria andMaxqueueNotBetween(Double value1, Double value2) {
            addCriterion("maxQueue not between", value1, value2, "maxqueue");
            return (Criteria) this;
        }

        public Criteria andAvgheadwayIsNull() {
            addCriterion("avgHeadway is null");
            return (Criteria) this;
        }

        public Criteria andAvgheadwayIsNotNull() {
            addCriterion("avgHeadway is not null");
            return (Criteria) this;
        }

        public Criteria andAvgheadwayEqualTo(Double value) {
            addCriterion("avgHeadway =", value, "avgheadway");
            return (Criteria) this;
        }

        public Criteria andAvgheadwayNotEqualTo(Double value) {
            addCriterion("avgHeadway <>", value, "avgheadway");
            return (Criteria) this;
        }

        public Criteria andAvgheadwayGreaterThan(Double value) {
            addCriterion("avgHeadway >", value, "avgheadway");
            return (Criteria) this;
        }

        public Criteria andAvgheadwayGreaterThanOrEqualTo(Double value) {
            addCriterion("avgHeadway >=", value, "avgheadway");
            return (Criteria) this;
        }

        public Criteria andAvgheadwayLessThan(Double value) {
            addCriterion("avgHeadway <", value, "avgheadway");
            return (Criteria) this;
        }

        public Criteria andAvgheadwayLessThanOrEqualTo(Double value) {
            addCriterion("avgHeadway <=", value, "avgheadway");
            return (Criteria) this;
        }

        public Criteria andAvgheadwayIn(List<Double> values) {
            addCriterion("avgHeadway in", values, "avgheadway");
            return (Criteria) this;
        }

        public Criteria andAvgheadwayNotIn(List<Double> values) {
            addCriterion("avgHeadway not in", values, "avgheadway");
            return (Criteria) this;
        }

        public Criteria andAvgheadwayBetween(Double value1, Double value2) {
            addCriterion("avgHeadway between", value1, value2, "avgheadway");
            return (Criteria) this;
        }

        public Criteria andAvgheadwayNotBetween(Double value1, Double value2) {
            addCriterion("avgHeadway not between", value1, value2, "avgheadway");
            return (Criteria) this;
        }

        public Criteria andTimeoccIsNull() {
            addCriterion("timeOcc is null");
            return (Criteria) this;
        }

        public Criteria andTimeoccIsNotNull() {
            addCriterion("timeOcc is not null");
            return (Criteria) this;
        }

        public Criteria andTimeoccEqualTo(Double value) {
            addCriterion("timeOcc =", value, "timeocc");
            return (Criteria) this;
        }

        public Criteria andTimeoccNotEqualTo(Double value) {
            addCriterion("timeOcc <>", value, "timeocc");
            return (Criteria) this;
        }

        public Criteria andTimeoccGreaterThan(Double value) {
            addCriterion("timeOcc >", value, "timeocc");
            return (Criteria) this;
        }

        public Criteria andTimeoccGreaterThanOrEqualTo(Double value) {
            addCriterion("timeOcc >=", value, "timeocc");
            return (Criteria) this;
        }

        public Criteria andTimeoccLessThan(Double value) {
            addCriterion("timeOcc <", value, "timeocc");
            return (Criteria) this;
        }

        public Criteria andTimeoccLessThanOrEqualTo(Double value) {
            addCriterion("timeOcc <=", value, "timeocc");
            return (Criteria) this;
        }

        public Criteria andTimeoccIn(List<Double> values) {
            addCriterion("timeOcc in", values, "timeocc");
            return (Criteria) this;
        }

        public Criteria andTimeoccNotIn(List<Double> values) {
            addCriterion("timeOcc not in", values, "timeocc");
            return (Criteria) this;
        }

        public Criteria andTimeoccBetween(Double value1, Double value2) {
            addCriterion("timeOcc between", value1, value2, "timeocc");
            return (Criteria) this;
        }

        public Criteria andTimeoccNotBetween(Double value1, Double value2) {
            addCriterion("timeOcc not between", value1, value2, "timeocc");
            return (Criteria) this;
        }

        public Criteria andSpaceoccIsNull() {
            addCriterion("spaceOcc is null");
            return (Criteria) this;
        }

        public Criteria andSpaceoccIsNotNull() {
            addCriterion("spaceOcc is not null");
            return (Criteria) this;
        }

        public Criteria andSpaceoccEqualTo(Double value) {
            addCriterion("spaceOcc =", value, "spaceocc");
            return (Criteria) this;
        }

        public Criteria andSpaceoccNotEqualTo(Double value) {
            addCriterion("spaceOcc <>", value, "spaceocc");
            return (Criteria) this;
        }

        public Criteria andSpaceoccGreaterThan(Double value) {
            addCriterion("spaceOcc >", value, "spaceocc");
            return (Criteria) this;
        }

        public Criteria andSpaceoccGreaterThanOrEqualTo(Double value) {
            addCriterion("spaceOcc >=", value, "spaceocc");
            return (Criteria) this;
        }

        public Criteria andSpaceoccLessThan(Double value) {
            addCriterion("spaceOcc <", value, "spaceocc");
            return (Criteria) this;
        }

        public Criteria andSpaceoccLessThanOrEqualTo(Double value) {
            addCriterion("spaceOcc <=", value, "spaceocc");
            return (Criteria) this;
        }

        public Criteria andSpaceoccIn(List<Double> values) {
            addCriterion("spaceOcc in", values, "spaceocc");
            return (Criteria) this;
        }

        public Criteria andSpaceoccNotIn(List<Double> values) {
            addCriterion("spaceOcc not in", values, "spaceocc");
            return (Criteria) this;
        }

        public Criteria andSpaceoccBetween(Double value1, Double value2) {
            addCriterion("spaceOcc between", value1, value2, "spaceocc");
            return (Criteria) this;
        }

        public Criteria andSpaceoccNotBetween(Double value1, Double value2) {
            addCriterion("spaceOcc not between", value1, value2, "spaceocc");
            return (Criteria) this;
        }

        public Criteria andDatetimeIsNull() {
            addCriterion("datetime is null");
            return (Criteria) this;
        }

        public Criteria andDatetimeIsNotNull() {
            addCriterion("datetime is not null");
            return (Criteria) this;
        }

        public Criteria andDatetimeEqualTo(Date value) {
            addCriterion("datetime =", value, "datetime");
            return (Criteria) this;
        }

        public Criteria andDatetimeNotEqualTo(Date value) {
            addCriterion("datetime <>", value, "datetime");
            return (Criteria) this;
        }

        public Criteria andDatetimeGreaterThan(Date value) {
            addCriterion("datetime >", value, "datetime");
            return (Criteria) this;
        }

        public Criteria andDatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("datetime >=", value, "datetime");
            return (Criteria) this;
        }

        public Criteria andDatetimeLessThan(Date value) {
            addCriterion("datetime <", value, "datetime");
            return (Criteria) this;
        }

        public Criteria andDatetimeLessThanOrEqualTo(Date value) {
            addCriterion("datetime <=", value, "datetime");
            return (Criteria) this;
        }

        public Criteria andDatetimeIn(List<Date> values) {
            addCriterion("datetime in", values, "datetime");
            return (Criteria) this;
        }

        public Criteria andDatetimeNotIn(List<Date> values) {
            addCriterion("datetime not in", values, "datetime");
            return (Criteria) this;
        }

        public Criteria andDatetimeBetween(Date value1, Date value2) {
            addCriterion("datetime between", value1, value2, "datetime");
            return (Criteria) this;
        }

        public Criteria andDatetimeNotBetween(Date value1, Date value2) {
            addCriterion("datetime not between", value1, value2, "datetime");
            return (Criteria) this;
        }

        public Criteria andJobinstanceidIsNull() {
            addCriterion("jobInstanceId is null");
            return (Criteria) this;
        }

        public Criteria andJobinstanceidIsNotNull() {
            addCriterion("jobInstanceId is not null");
            return (Criteria) this;
        }

        public Criteria andJobinstanceidEqualTo(String value) {
            addCriterion("jobInstanceId =", value, "jobinstanceid");
            return (Criteria) this;
        }

        public Criteria andJobinstanceidNotEqualTo(String value) {
            addCriterion("jobInstanceId <>", value, "jobinstanceid");
            return (Criteria) this;
        }

        public Criteria andJobinstanceidGreaterThan(String value) {
            addCriterion("jobInstanceId >", value, "jobinstanceid");
            return (Criteria) this;
        }

        public Criteria andJobinstanceidGreaterThanOrEqualTo(String value) {
            addCriterion("jobInstanceId >=", value, "jobinstanceid");
            return (Criteria) this;
        }

        public Criteria andJobinstanceidLessThan(String value) {
            addCriterion("jobInstanceId <", value, "jobinstanceid");
            return (Criteria) this;
        }

        public Criteria andJobinstanceidLessThanOrEqualTo(String value) {
            addCriterion("jobInstanceId <=", value, "jobinstanceid");
            return (Criteria) this;
        }

        public Criteria andJobinstanceidLike(String value) {
            addCriterion("jobInstanceId like", value, "jobinstanceid");
            return (Criteria) this;
        }

        public Criteria andJobinstanceidNotLike(String value) {
            addCriterion("jobInstanceId not like", value, "jobinstanceid");
            return (Criteria) this;
        }

        public Criteria andJobinstanceidIn(List<String> values) {
            addCriterion("jobInstanceId in", values, "jobinstanceid");
            return (Criteria) this;
        }

        public Criteria andJobinstanceidNotIn(List<String> values) {
            addCriterion("jobInstanceId not in", values, "jobinstanceid");
            return (Criteria) this;
        }

        public Criteria andJobinstanceidBetween(String value1, String value2) {
            addCriterion("jobInstanceId between", value1, value2, "jobinstanceid");
            return (Criteria) this;
        }

        public Criteria andJobinstanceidNotBetween(String value1, String value2) {
            addCriterion("jobInstanceId not between", value1, value2, "jobinstanceid");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}